package org.sixtynine.stock.service;

import java.util.List;

import org.sixtynine.stock.ReturnData;
import org.sixtynine.stock.cache.CurrentShareCache;
import org.sixtynine.stock.criteria.StockSearchCriteria;
import org.sixtynine.stock.entity.User;
import org.sixtynine.stock.result.StockResult;
import org.springframework.beans.factory.annotation.Autowired;

public class SectorManagerImpl implements SectorManagerService {

	@Autowired
	StockPersistentService service;

	@Autowired
	CurrentShareCache currentShareCache;
	
	@Override
	public User login(String userName, String passwords) {
		User userData = null;
		userData = service.findUserByUserName(userName);
		return userData;
	}

	@Override
	public ReturnData<List<StockResult>> search(StockSearchCriteria criteria) {
		// TODO Auto-generated method stub
		return null;
	}

}
